
<!DOCTYPE html>
<html>
	<head>
		<meta name="layout" content="aqvLayout2">
		<meta http-equiv="Content-type" content="text/html; charset=utf-8">
		<meta charset="utf-8"/>
		<title>A quien voto | Register</title>
	</head>
	<body>
	
	
		<!-- SUBHEADER
		================================================== -->
		<div id="subheader">
			<div class="row">
				<div class="twelve columns">
					<p class="left">
						 Registrate
					</p>
					<p class="right">
						 <g:link controller="user" action="index">Login</g:link>
					</p>
				</div>
			</div>
		</div>
		<div class="hr">
		</div>
		<!-- CONTENT 
		================================================== -->
		<%--<div class="row">
		    <!-- GOOGLE MAP IFRAME -->
			<div class="twelve columns">
				<iframe class="gmap" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=disney+paris&amp;aq=&amp;sll=37.0625,-95.677068&amp;sspn=39.371738,86.572266&amp;ie=UTF8&amp;hq=disney&amp;hnear=Paris,+%C3%8Ele-de-France,+France&amp;t=m&amp;fll=48.881877,2.535095&amp;fspn=0.512051,1.352692&amp;st=103241701817924407489&amp;rq=1&amp;ev=zo&amp;split=1&amp;ll=49.027964,2.772675&amp;spn=0.315159,0.585022&amp;z=10&amp;iwloc=D&amp;output=embed">
				</iframe>
			</div>
		</div>
		--%>
		<div class="row">
			<!-- CONTACT FORM -->
			<div class="twelve columns">
				<div class="wrapcontact">
					<h5>Recordatorio:</h5>
					<p>
					    Te pedimos que uses datos verdaderos ya que estos seran validados por los lideres del partido politico al cual pertenezcas. 
					    Una vez superada dicha validacion, estaras habilitado para editar informacion sobre tus representantes politicos y sus proyectos.
					</p>
					<%--
					<div class="done">
						<div class="alert-box success">
							 Message has been sent! <a href="" class="close">x</a>
						</div>
					</div>
					--%>

<%--					<g:if test="${flash.message}">--%>
<%--						<div class="message" role="status">${flash.message}</div>--%>
<%--					</g:if>--%>
					<%--<g:hasErrors bean="${userInstance}">
						<ul class="errors" role="alert">
							<g:eachError bean="${userInstance}" var="error">
								<li <g:if test="${error in org.springframework.validation.FieldError}">data-field-id="${error.field}"</g:if>><g:message error="${error}"/></li>
							</g:eachError>
						</ul>
					</g:hasErrors>
					--%>
					
					
					<fieldset>
					
						<legend>Datos Personales</legend>
						<g:hasErrors bean="${userInstance}">
							<g:eachError bean="${userInstance}" var="error">
								<div class="alert-box alert"><g:message error="${error}"/></div>
							</g:eachError>
						</g:hasErrors>
						
						<g:form url="[resource:userInstance, action:'register']" >
							<g:render template="form"/>
							<g:submitButton name="create" class="button" value="${message(code: 'default.button.create.label', default: 'Registrarse')}" />
						</g:form>
						
					</fieldset>
				</div>
			</div>

		</div>
		<div class="hr">
		</div>

	</body>
</html>
